package com.qf.pojo.repVo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseResp {

    private Integer code;

    private String msg;

    private Object data;

    private Long total;

    public BaseResp Error(){
        return new BaseResp(0,"失败!",null,null);
    }
}
